import unittest
from time import sleep

from selenium import webdriver
from selenium.webdriver.common.by import By


class TestCase(unittest.TestCase):
    def test_01(self):
        global driver
        driver=webdriver.Chrome()
        driver.get("https://test-paas.transsion.com/mompc/#/login")
        sleep(2)
        driver.find_element(By.XPATH,'//*[@id="app"]/div/div[3]/form/div[2]/div/div[1]/input').send_keys('MOM')
        sleep(2)
        driver.find_element(By.XPATH,'//*[@id="app"]/div/div[3]/form/div[3]/div/div[1]/input').send_keys('123456')
        sleep(3)
        driver.find_element(By.XPATH,'//*[@id="app"]/div/div[3]/form/div[4]/div/button').click()
        sleep(5)
